package marking.liu.pojo.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 涨幅榜更多数据
 */
@Data
@Builder
@ApiModel(value = "GainerDataDomain", description = "涨幅榜更多数据")
public class GainerDataDomain {
    @ApiModelProperty(value = "交易量")
    @ExcelProperty(value = {"股票涨幅信息表", "交易量"}, index = 7)
    private Long tradeAmt;
    @ApiModelProperty(value = "前收盘价")
    @ExcelProperty(value = {"股票涨幅信息表", "前收盘价"}, index = 2)
    private BigDecimal preClosePrice;
    @ApiModelProperty(value = "振幅")
    @ExcelProperty(value = {"股票涨幅信息表", "振幅"}, index = 6)
    private BigDecimal amplitude;
    @ApiModelProperty(value = "股票编码")
    @ExcelProperty(value = {"股票涨幅信息表", "股票编码"}, index = 0)
    private String code;
    @ApiModelProperty(value = "股票名称")
    @ExcelProperty(value = {"股票涨幅信息表", "股票名称"}, index = 1)
    private String name;
    @ApiModelProperty(value = "当前日期")
    @ExcelProperty(value = {"股票涨幅信息表", "当前日期"}, index = 9)
    private Date curDate;
    @ApiModelProperty(value = "交易金额")
    @ExcelProperty(value = {"股票涨幅信息表", "当前日期"}, index = 8)
    private BigDecimal tradeVol;
    @ApiModelProperty(value = "涨跌")
    @ExcelProperty(value = {"股票涨幅信息表", "涨跌"}, index = 4)
    private BigDecimal increase;
    @ApiModelProperty(value = "涨幅")
    @ExcelProperty(value = {"股票涨幅信息表", "涨幅"}, index = 5)
    private BigDecimal upDown;
    @ApiModelProperty(value = "当前价格")
    @ExcelProperty(value = {"股票涨幅信息表", "当前价格"}, index = 3)
    private BigDecimal tradePrice;

}
